package com.estate.mapper;

import com.estate.pojo.Unit;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UnitMapper {
	
    int deleteByPrimaryKey(Integer unitId) throws Exception;

    //添加单元
    int insert(Unit record) throws Exception;

    int insertSelective(Unit record) throws Exception;
    
    Unit selectByPrimaryKey(Integer unitId) throws Exception;

    int updateByPrimaryKeySelective(Unit record) throws Exception;

    int updateByPrimaryKey(Unit record) throws Exception;
}